<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>千园千变，万班万课</title>
    <meta name="description" content="这是一个 index 页面">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="icon" type="image/png" href="assets/i/favicon.ico">
    <link rel="apple-touch-icon-precomposed" href="assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
    <link rel="stylesheet" href="assets/css/amazeui.min.css"/>
    <link rel="stylesheet" href="assets/css/admin.css">
    <link rel="stylesheet" href="assets/css/app.css">
    <script src="assets/js/echarts.min.js"></script>
    <style>
        body {
            border-top: 1px solid transparent;
        }
        .tpl-header-list a,.tpl-header-list-user-nick,.tpl-header-nav-hover-ico{
            color: #fff !important;
        }
        .tpl-header-list-user-nick{
            color: #fff !important;
        }
        .am-dropdown:hover  .tpl-header-list-user-nick{
            color:#3598DC !important
        }
    </style>
</head>
<body >
<header class="am-topbar am-topbar-inverse admin-header" >
    <div class="am-topbar-brand">
        <a href="javascript:;" class="tpl-logo">
            <img src="assets/images/logo.png" alt="">
        </a>
    </div>
    <div class="am-icon-list tpl-header-nav-hover-ico am-fl am-margin-right"></div>
    <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only"
            data-am-collapse="{target: '#topbar-collapse'}"><span class="am-sr-only">导航切换</span> <span
            class="am-icon-bars"></span></button>
    <div class="am-collapse am-topbar-collapse" id="topbar-collapse">
        <ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right admin-header-list tpl-header-list">
            <li class="check_permission[0,1]">
                <a style="font-size: 16px;margin-right: 20px;" >
                <span class="admin-fullText">我的服务码: <b id="serviceCode">asfasdf</b></span></a>
            </li>
            <li class="am-dropdown">
                <a class="am-dropdown-toggle tpl-header-list-link" href="javascript:;">
                    <span class="tpl-header-list-user-nick" id="name"></span><span class="tpl-header-list-user-ico"> <img  src="assets/images/y.jpg"></span>
                </a>
      <!--          <ul class="am-dropdown-content">
                    <li><a href="#"><span class="am-icon-bell-o"></span> 资料</a></li>
                    <li><a href="#"><span class="am-icon-cog"></span> 设置</a></li>
                    <li><a href="login.html"><span class="am-icon-power-off"></span> 退出</a></li>
                </ul>-->
            </li>
            <li>
                <a class="tpl-header-list-link logout_btn" ><span class="am-icon-sign-out tpl-header-list-ico-out-size"></span></a>
            </li>
        </ul>
    </div>
</header>
<div class="tpl-page-container tpl-page-header-fixed" style="height: calc(100vh - 77px);">
    <div class="tpl-left-nav tpl-left-nav-hover" style="height: calc(100vh - 97px);overflow-y: scroll;">
        <div class="tpl-left-nav-list">
            <ul class="tpl-left-nav-menu">
                <li class="tpl-left-nav-item">
                    <a href="admin_login_info.html" target="right" class="nav-link active">
                        <i class="am-icon-home"></i>
                        <span>登录信息</span>
                    </a>
                </li>
                <li class="tpl-left-nav-item check_permission[0] " >
                    <a href="javascript:;" class="nav-link tpl-left-nav-link-list">
                        <i class="am-icon-user"></i>
                        <span>管理员</span>
                        <i class="am-icon-angle-right tpl-left-nav-more-ico am-fr am-margin-right"></i>
                    </a>
                    <ul class="tpl-left-nav-sub-menu">
                        <li>
                            <a href="admin_list.html" target="right" >
                                <i class="am-icon-angle-right"></i>
                                <span>代理商列表</span>
                            </a>
                        </li>
                        <li>
                            <a href="admin_update_or_add.html" target="right" >
                                <i class="am-icon-angle-right"></i>
                                <span>添加代理商</span>
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="tpl-left-nav-item">
                    <a href="javascript:;" class="nav-link tpl-left-nav-link-list">
                        <i class="am-icon-soccer-ball-o"></i>
                        <span>改善课程管理</span>
                        <i class="am-icon-angle-right tpl-left-nav-more-ico am-fr am-margin-right"></i>
                    </a>
                    <ul class="tpl-left-nav-sub-menu">
                        <li class="check_permission[0]">
                            <a href="course_list.html" target="right" >
                                <i class="am-icon-angle-right"></i>
                                <span>改善课程列表</span>
                            </a>
                        </li>
                        <li class="check_permission[0]">
                            <a href="courser_excel_import.html" target="right" >
                                <i class="am-icon-angle-right"></i>
                                <span>批量导入课程</span>
                            </a>
                        </li>
                        <li class="check_permission[0,1,2]">
                            <a href="course_test_list.html" target="right" >
                                <i class="am-icon-angle-right"></i>
                                <span>体验课程</span>
                            </a>
                        </li>
                        <li class="check_permission[2]">
                            <a href="class_course_list.html" target="right" >
                                <i class="am-icon-angle-right"></i>
                                <span>改善课程</span>
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="tpl-left-nav-item">
                    <a href="javascript:;" class="nav-link tpl-left-nav-link-list">
                        <i class="am-icon-university"></i>
                        <span>学校管理</span>
                        <i class="am-icon-angle-right tpl-left-nav-more-ico am-fr am-margin-right"></i>
                    </a>
                    <ul class="tpl-left-nav-sub-menu">
                        <li class="check_permission[0,1]">
                            <a href="school_list.html" target="right" >
                                <i class="am-icon-angle-right"></i>
                                <span>学校列表</span>
                            </a>
                        </li>
                        <li class="check_permission[1]">
                            <a href="school_update_or_add.html" target="right" >
                                <i class="am-icon-angle-right"></i>
                                <span>添加学校</span>
                            </a>
                        </li>
                        <li class="check_permission[2]">
                            <a href="class_list.html" target="right" >
                                <i class="am-icon-angle-right"></i>
                                <span>班级列表</span>
                            </a>
                        </li>
                        <li class="check_permission[2]">
                            <a href="class_update_or_add.html" target="right" >
                                <i class="am-icon-angle-right"></i>
                                <span>添加班级</span>
                            </a>
                        </li>
                        <li class="check_permission[1]">
                            <a href="teacher_list.html" target="right" >
                                <i class="am-icon-angle-right"></i>
                                <span>老师列表</span>
                            </a>
                        </li>

                        <li class="check_permission[1]">
                            <a href="teacher_update_or_add.html" target="right" >
                                <i class="am-icon-angle-right"></i>
                                <span>添加老师</span>
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="tpl-left-nav-item">
                    <a href="javascript:;" class="nav-link tpl-left-nav-link-list">
                        <i class="am-icon-reorder"></i>
                        <span>订单管理</span>
                        <i class="am-icon-angle-right tpl-left-nav-more-ico am-fr am-margin-right"></i>
                    </a>
                    <ul class="tpl-left-nav-sub-menu">
                        <li class="check_permission[0,1]">
                            <a href="order_list.html" target="right" >
                                <i class="am-icon-angle-right"></i>
                                <span>订单列表</span>
                            </a>
                        </li>
                        <li class="check_permission[2]">
                            <a href="order_my_list.html" target="right" >
                                <i class="am-icon-angle-right"></i>
                                <span>我的订单</span>
                            </a>
                        </li>
                        <li class="check_permission[0,1]">
                            <a href="apply_for_list.html" target="right" >
                                <i class="am-icon-angle-right"></i>
                                <span>提现申请列表</span>
                            </a>
                        </li>
                        <li class="check_permission[0,1]">
                            <a href="bill_list.html" target="right" >
                                <i class="am-icon-angle-right"></i>
                                <span>收支明细</span>
                            </a>
                        </li>
                        <li class="check_permission[1]">
                            <a href="get_cash.html" target="right" >
                                <i class="am-icon-angle-right"></i>
                                <span>提现</span>
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="tpl-left-nav-item">
                    <a href="admin_base_info.html" target="right" class="nav-link tpl-left-nav-link-list">
                        <i class="am-icon-key"></i>
                        <span>基本信息</span>
                    </a>
                </li>
            </ul>
        </div>
    </div>
    <div class="tpl-content-wrapper" style="height: 100%">
        <iframe scrolling="auto" rameborder="0" src="admin_login_info.html" name="right" width="100%"  height="100%"></iframe>
    </div>
</div>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/amazeui.min.js"></script>
<script src="assets/js/layer.js"></script>
<script src="assets/js/jquery.cookie.js"></script>
<script src="assets/js/md5.min.js"></script>
<script src="assets/js/jquery.pagination.js"></script>
<script src="assets/js/jquery.serializejson.min.js"></script>
<script src="assets/js/request.js"></script>
<script src="assets/js/verification.js"></script>
<script src="assets/js/app.js"></script>
</body>
<script>
function setInfo () {
  var loginData=JSON.parse($.cookie('loginData'))
  $('#name').html(loginData.name)
  $('#serviceCode').html(loginData.serve_code)
}
setInfo()
$(function(){
  $('.tpl-left-nav-list').on('click','a',function () {
    var n1=$(this).parents('ul').siblings('a').text().trim()
    var n2=$(this).text().trim()
    sessionStorage.setItem('breadcrumb1',n1)
    sessionStorage.setItem('breadcrumb2',n2)
    $(this).addClass("active").parents('li').siblings('li').find('.active').removeClass('active')
    $(this).parents('ul').siblings('.nav-link').removeClass('active');
  })
  // 退出登录
  $('.logout_btn').click(function () {
    layer.msg('退出登录',{icon:1,time:1200},function () {
      location.replace('login.html');
      $.cookie('token',null);
      $.cookie('loginData',null);
    })
  })
});
</script>

</html>